package com.dragonnova.org.utils.utils;

import android.content.Intent;

/**
 * Author： Cheng on 2017/3/2.
 * Email：dong.cheng@dragonnova.com
 */

public class IntentUtils {

    private IntentUtils(){throw  new AssertionError();}

    /**
     * 判断intent和它的bundle是否为空
     *
     * @param intent
     * @return
     */
    public static boolean isBundleEmpty(Intent intent) {
        return (intent == null) && (intent.getExtras() == null);
    }
}
